<%@ page language="java" import="java.util.*,com.beans.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE HTML>
<html>
<head>
<base href="<%=basePath%>">

<title></title>

<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">    

<link rel="stylesheet" type="text/css" href="css/edittable.css"  ></link>  
<link rel="stylesheet" type="text/css" href="css/maintable.css"></link>
	<style>
 		label{
 			display:block;
 			margin-top:4px;
 			color:red;
 		}
 		
 		.td_input{
 			width:230px;
 		}	
 	</style>
 <script type="text/javascript" src="js/jquery-1.8.0.js"></script> 		
</head>

<body>
	<div class="div_title">
		<div class="div_titlename">
			<img src="images/san_jiao.gif"><span>会员信息</span>
		</div>
	</div>
	<table class="edit_table" >
	 		<tr>
	 			 	<td class="td_info">会员账号</td>	
	 			 	<td class="td_input"> 
	 			 		<label class="txtbox" >${memberInfo.memberNo} </label> 
	 			 	</td>   
	 			 	<td class="td_info">会员姓名</td>	
	 				<td>
	 					<label class="txtbox" >${memberInfo.memberName} </label> 
	 				</td> 	
	 		</tr>

	 		<tr>
	 				<td class="td_info">联系电话</td>	
	 				<td>
	 					<label class="txtbox" >${memberInfo.phone} </label> 
	 				</td>
	 				<td class="td_info">电子邮箱</td>	
	 				<td><label class="txtbox" >${memberInfo.email} </label>
	 			
	 		</tr>	
	 		
	 		<tr >
	 				<td class="td_info">注册日期</td>	
					<td><label class="txtbox" >${memberInfo.registerDate} </label> </td>
	 			    <td class="td_info">身份证号</td>	
					<td>
						<label class="txtbox" >${memberInfo.idCard} </label>
					</td>
	 		</tr>

	 		<tr >
	 				<td class="td_info">登录次数</td>	
					<td><label class="txtbox" >${memberInfo.loginCounts} </label></td>
	 			    <td class="td_info">最后登录时间</td>	
						<td><label class="txtbox" >${memberInfo.lastLoginDate} </label> </td>
	 			    <td></td>
	 		</tr>
	 		
	 		<tr >
	 				<td class="td_info">会员常用ip</td>	
	 				<td id="td_ip">
	 					<c:forEach var="ip" items="${ipList}">
	 						<label class="txtbox" >${ip}</label>
	 					</c:forEach>				
	 				</td>
				
	 			    <td class="td_info">会员等级</td>
	 				<td><label class="txtbox" > <c:out value="${memberInfo.memberLevel}" default="临时用户 非会员"></c:out> </label> </td>
	 		</tr>
	 	
	 		<tr>
	 			<td class="td_info"> </td>	
	 			<td> 
	 				<button class="form_btn" onclick="window.history.back()" >返回 </button>
	 			</td>	
	 			<td></td>
	 			<td></td>
	 		</tr>
	 </table>
	
	
</body>
</html>	
